/** 
* @file cpu.cpp
* Processor Interface implementation.
* Provides the interface for managing processors, processor cores,
* accessing processors sturctures.
* Everything outside of this module must use this interface when 
* working with processors.
*
* Copyrights 2010 Michal Saman, m.saman@designplus.cz.
* This source code is release under the Apache License 2.0.
* http://www.apache.org/licenses/LICENSE-2.0
*/

#include <cpu/cpu.h>
#include <hal/gdt.h>
#include <hal/idt.h>

/**
* cpu_init() - inicialize CPU resources
*
* Inicialize GDT and Inicialize IDT.
*/
int cpu_init() {
	gdt_init();
	idt_init(0x8);
	return 0;
}

/** 
* cpu_shutdown() - clear CPU resources
*/
void cpu_shutdown() {
 //TODO
}
